import request from '@/utils/request';

export async function getUnStandProductProcessInfoByPage (params: any) {
    return request('/api/design/getUnStandProductProcessInfoByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addUnStandProductProcessInfo (params: any) {
    return request('/api/design/addUnStandProductProcessInfo', {
    method: 'POST',
    data: params,
  });
}

export async function updateUnStandProductProcessInfo (params: any) {
    return request('/api/design/updateUnStandProductProcessInfo', {
    method: 'POST',
    data: params,
  });
}

export async function delUnStandProductProcessInfo (params: any) {
    return request('/api/design/delUnStandProductProcessInfo', {
    method: 'POST',
    data: params,
  });
}


export async function exportUnStandProductProcessInfo(params: any) {
    return request('/api/design/exportUnStandProductProcessInfo', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getUnStandProductProcessInfoByPage, addUnStandProductProcessInfo, updateUnStandProductProcessInfo, delUnStandProductProcessInfo, exportUnStandProductProcessInfo }
